package com.example.api.service;

import com.example.api.model.entity.Distribution;
import com.example.api.model.vo.CommodityChartVo;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

public interface DistributionService {

    Distribution save(Distribution distribution) throws Exception;

    List<Distribution> findAll();

}
